package cn.it.mapper;

import cn.it.domain.Car;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CarMapper {
    public Car searchCarById(Integer id);
    @Select("select * from tb_car")
    public List<Car> selectAll();
}
